package com.lxw.nonghe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
@TableName("t_farmer_payment_detail")
@ApiModel(value = "FarmerPaymentDetail对象", description = "农民缴费明细表")
public class FarmerPaymentDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("缴费明细ID")
    @TableId(type = IdType.AUTO)
    private Integer detailId;

    @ApiModelProperty("关联农民ID")
    private Integer farmerId;

    @ApiModelProperty("农民姓名")
    //@TableField(exist = false)
    private String farmerName;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("缴费金额(元)")
    private BigDecimal amount;

    @ApiModelProperty("缴费状态(1-已缴,0-未缴)")
    private Byte status;

    @ApiModelProperty("缴费时间")
    private Date paymentTime;
}
